IModule.ReadSdoInt32 方法
透過服務資料物件 (SDO) 讀取 int。
命名空間:IntervalZero.KINGSTAR.Base.Class組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
IKsCommand<int> ReadSdoInt32(
ushort index,
byte subIndex,
bool completeAccess
)
Function ReadSdoInt32(
index As UShort,
subIndex As Byte,
completeAccess As Boolean
) As IKsCommand(Of Integer)
參數
index
型別:ushort
欲在物件字典中讀取的物件索引。
subIndex
型別:byte
欲在物件字典中讀取的物件子索引。
completeAccess
型別:bool
true:讀取所有子索引;false:讀取單一子索引。
回傳值
型別:IKsCommand<int>
回傳方法的狀態及一個 int 值。
參見